<template>
  <br>
  <h3 style="color: red"><strong>11.1 事件处理：内联事件处理器</strong></h3> <br>

    <button @click="count++">add{{count}}</button> <br>
   <button v-on:click="count++">add{{count}}</button> <br>
</template>

<script>
export default {
  name: "EventDemo1",
  data(){
    return{
      count:0
    }
  }
}
</script>

<style scoped>

</style>